package com.cw.service;

import com.cw.pojo.Emp;
import com.cw.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PageBean page(Integer page, Integer pageSize, String name, Short gender,
                  LocalDate begin, LocalDate end);


    void delete(List<Integer> ids);

    void insert(Emp emp);

    Emp getById(Integer id);

    void updateById(Emp emp);


    Emp login(Emp emp);
}
